package my.avoskagae.model.buslogic;

import java.util.List;

import my.avoskagae.model.AvoskaModelException;
import my.avoskagae.model.entity.Product;
import my.avoskagae.store.abstr.StoreAdapter;

public interface MaintenanceProductCatalog {

	public Product createProduct(String name) throws AvoskaModelException;

	public Product renameProduct(Product product, String newName)
			throws AvoskaModelException;

	public Product switchNeedPurchase(Product product, Boolean newNeedPurchase);

	public boolean removeProduct(Product product) throws AvoskaModelException;

	public List<Product> getProducts() throws AvoskaModelException;

	StoreAdapter getStoreAdapter();

	void setStoreAdapter(StoreAdapter storeAdapter);

}
